package com.zzyl.serve.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Xiaoyl
 * @since 2025/8/27
 */
@Data
@ApiModel("分页查询报警数据")
public class PageAlertDataDto {

    @ApiModelProperty(value = "页码")
    private Integer pageNum;

    @ApiModelProperty(value = "页面大小")
    private Integer pageSize;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "开始报警时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束报警时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "状态，0：待处理，1：已处理")
    private Boolean status;
}
